//接口配置文件
//是否是开发模式

var dev=true;
var domain="/";
if(!dev){
	domain="/";
}
if(dev) {
    console.info('加载', 'interfacesConfig.js');
}

var domain_retir='';
var pageing={
    init_currentPageNo:1,
    init_pageSize:5
}
var interfaces = {
    login:domain+'researcher/rest/account/signIn'+domain_retir,
    register:domain+'researcher/rest/account/signUp'+domain_retir,
    userinfo:domain+'researcher/rest/account/info'+domain_retir,
    account_settings:domain+'researcher/rest/account/settings'+domain_retir,//个人信息设置
    search:domain+'researcher/rest/search/paper'+domain_retir,
    recommend:domain+'researcher/rest/resys/paper'+domain_retir,//推荐
    favorite_add:domain+'researcher/rest/favorite/add'+domain_retir,//添加收藏记录
    favorite_del:domain+'researcher/rest/favorite/delete'+domain_retir,//删除收藏记录
    favorite_get:domain+'researcher/rest/favorite/pagination'+domain_retir,//获取用户的所有收藏记录
    favorite_count:domain+'researcher/rest/favorite/count'+domain_retir,//获取某个文章的收藏次数
    download_count:domain+'researcher/rest/downloadLog/count'+domain_retir,//查看某一文章下载总数
    download_get:domain+'researcher/rest/downloadLog/pagination'+domain_retir,//查看某一个用户所有下载记录
    download_add:domain+'researcher/rest/downloadLog/add'+domain_retir,//下载某一个文章
    detail:domain+'researcher/rest/search/detail'+domain_retir,//查看论文详情
    comment_count:domain+'researcher/rest/comment/count'+domain_retir,//统计论文评论总数
    comment_get:domain+'researcher/rest/comment/pagination'+domain_retir,//查看论文的所有评论
    comment_del:domain+'researcher/rest/comment/delete'+domain_retir,//删除某一条评论
    comment_add:domain+'researcher/rest/comment/add'+domain_retir,//添加一条评论
    comment_account_associated:domain+'researcher/rest/comment/account/associated'+domain_retir,//查看用户的消息
    favorite_hot:domain+'researcher/rest/favorite/hot'+domain_retir,//热门搜索top10
    download_hot:domain+'researcher/rest/downloadLog/hot'+domain_retir,//热门下载top10
    account_favorite_count:domain+'researcher/rest/favorite/count/account'+domain_retir,//用户收藏总数
    account_download_count:domain+'researcher/rest/downloadLog/count/account'+domain_retir,//用户下载总数
    account_comment_count:domain+'researcher/rest/comment/count/account'+domain_retir,//用户消息总数
    suggest_keyword:domain+'researcher/rest/suggest/keyword'+domain_retir,//搜索关键词提示
    visitor_detail:domain+'researcher/rest/search/detail',//无身份游客访问论文详情
    setpassword:domain+'researcher/rest/account/settings'+domain_retir,//修改密码
    findpassword:domain+'researcher/rest/account/password/find'+domain_retir,//找回密码
    uploadfile:domain+'researcher/rest/paper/upload/multi'+domain_retir,//上传论文
    authorpapers:domain+'researcher/rest/search/paper'+domain_retir//按照作者搜索他下面所有的论文


};





